
<!DOCTYPE html>
<html>

<head>

    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>H+ 后台主题UI框架 - 空白页</title>
    <meta name="keywords" content="">
    <meta name="description" content="">

    <link rel="shortcut icon" href="../favicon.ico"> 
    <link href="../css/bootstrap.min.css?v=3.3.6" rel="stylesheet">
    <link href="../css/font-awesome.css?v=4.4.0" rel="stylesheet">
     <!-- jqgrid-->
    <link href="../css/animate.css" rel="stylesheet">
    <link href="../css/style.css?v=4.1.0" rel="stylesheet">
    <link href="../css/plugins/sweetalert/sweetalert.css" rel="stylesheet">
    <link href="../css/gyq.css" rel="stylesheet">
    <link rel="stylesheet" href="../css/demo.css" type="text/css">
</head>

<body style="color:#333;padding:3px;">
    <!-- 标题 -->
    <div class="page-heade">
      <h2 class="title_color text-center">经销商进销存报告归档</h2>
    </div>
    <!-- 标题 -->
     <div>
        <form action="" class="form-inline">
          <table class="row-margin-top tab-content table-bordered  table" border="1" style="margin:0">
          <tr>
              <td style="min-width: 120px" class="text-center"><label for="" class="form-label">财年：</label>
             </td>
             <td><input type="text" class="form-control" name="" placeholder="请选择关键字或空格查询"><a href="javascript:;">选择</a></td>
               <td style="min-width: 120px" class="text-center"><label for="" class="form-label">一级考核期：</label>
             </td>
             <td><input type="text"  class="form-control" name="" placeholder="请选择关键字或空格查询"><a href="javascript:;">选择</a></td>
               <td style="min-width: 120px" class="text-center"><label for="" class="form-label">二级考核期：</label>
             </td>
             <td><input type="text" class="form-control" name="" placeholder="请选择关键字或空格查询"><a href="javascript:;">选择</a></td>
          </tr>
          <tr>
            <td colspan="6" class="text-center">
              <button class="btn btn-info query" type="button">查询</button>
              <button class="btn btn-info emptyIf" type="button">清空查询条件</button>
            </td>
          </tr>
          </table>
          <table class="table-bordered table" style="margin:2px">
            <tr>
              <td class="text-right">金额单位：元</td>
            </tr>
          </table>
          <table class="row-margin-top tab-content table-bordered text-center table" border="1">
            <tr class="info">
               <th style="vertical-align: middle !important;text-align: center;"><input type="checkbox" id="checkAll"></th>
                <th class="text-center">No.</th>
                <th class="text-center">考核期</th>
                <th class="text-center">进(P)</th>
                <th class="text-center">销(S)</th>
                <th class="text-center">存(I)</th>
                <th class="text-center">分销(2S)</th>
            </tr>
            <tbody>
              <tr>
                  <td align="center" rowspan="2"><input type="checkbox" name="items" class="form-control"></td>
                  <td rowspan="2">1</td>
                  <td>2015-10月</td>
                  <td class="text-right ObjectNum">224707.50</td>
                  <td class="text-right ObjectNum">146335.50</td>
                  <td class="text-right ObjectNum">78372</td>
                  <td class="text-right ObjectNum colorRed">61040</td>
              </tr>
              <tr>
                <td colspan="5" class="trTotal font-bold">何跃未汇总；良清堂未汇总；郭涛未汇总</td>
              </tr>
               <tr>
                  <td align="center" rowspan="2"><input type="checkbox" name="items" class="form-control"></td>
                  <td rowspan="2">2</td>
                  <td>2015-10月</td>
                   <td class="text-right ObjectNum">224707.50</td>
                  <td class="text-right ObjectNum">146335.50</td>
                  <td class="text-right ObjectNum">78372</td>
                  <td class="text-right ObjectNum colorRed">61040</td>
              </tr>
              <tr>
                <td colspan="5" class="trTotal font-bold">何跃未汇总；良清堂未汇总；郭涛未汇总</td>
              </tr>
            </tbody>
          </table>
          <div class="row sub_btn" style="width:100%;text-align:center;padding: 20px 0">
                <input type="button" class="btn btn-info" value="归档">
            </div>
        </form>
       
     </div>
    <!-- 全局js -->
    <script src="__STATIC__/layout/js/jquery.min.js?v=2.1.4"></script>
    <script src="__STATIC__/layout/js/bootstrap.min.js?v=3.3.6"></script>
    <!-- <script src="js/plugins/metisMenu/jquery.metisMenu.js"></script> -->
    <script src="__STATIC__/layout/js/plugins/slimscroll/jquery.slimscroll.min.js"></script>
   <script src="__STATIC__/layout/js/plugins/layer/layer.min.js"></script>
    <script src="__STATIC__/layout/js/plugins/sweetalert/sweetalert.min.js"></script>
     <script src="__STATIC__/layout/js/common.js"></script>
   <script>
      function back(){
        history.go(-1)
      }
     $(document).ready(function(){

           var $ObjectNum =$(".ObjectNum");
             toNum($ObjectNum);

             /*table表格操作*/
      $("#checkAll").click(function() {

            $("[name=items]:checkbox").prop("checked", $(this).prop("checked"));
        })
        $("[name=items]:checkbox").click(function() {
            //定义一个临时变量，避免重复使用同一个选择器选择页面中的元素，提高程序效率
            var $tmp = $("[name=items]:checkbox");
            //用filter()方法筛选出选中的复选框，并直接给CheckedAll赋值
            $("#checkAll").prop('checked', $tmp.length == $tmp.filter(':checked').length);

          })
        })
   </script>
</body>

</html>
